package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IDeviceDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class CleanDeviceDataJob {

    @Autowired
    private IDeviceDataService  deviceDataService;

    public void deleteDeviceDataJob(){
        deviceDataService.deleteDeviceData();
        log.info("删除设备数据成功");
    }
}
